package com.itmayiedu.dao;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Update;

/**
 * @Author cht 【wonderfor@vip.qq.com】
 * @Date 2018/11/7
 */
@Mapper
public interface OrderDao {

    @Update("update order_info set isPay = #{isPay},payId=#{aliPayId} where orderNumber=#{orderNumber}")
    public int updateOrder(@Param("isPay") Long isPay, @Param("aliPayId") String aliPayId, @Param("orderNumber") String orderNumber);
}
